-
Notifications
You must be signed in to change notification settings - Fork 1.1k
实现Json转word,Json转latex,md转word,md转latex #4597
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
实现Json转word,Json转latex,md转word,md转latex #4597
Conversation
|
Thanks for your contribution! |
| @@ -0,0 +1,57 @@ | |||
| # Copyright (c) 2024 PaddlePaddle Authors. All Rights Reserved. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
copyright 2025
OSPP__toWord/pdf_to_json_to_latex.py
Outdated
| import json, os, re | ||
|
|
||
|
|
||
| def escape_latex(s: str) -> str: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
英文
OSPP__toWord/document_sample.md
Outdated
| @@ -0,0 +1,248 @@ | |||
| <div style="text-align: center;"><img alt="Image" src="imgs/img_in_image_box_178_142_299_309.jpg" width="10%"/></div> | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
删除例子文件
.precommit/check_imports.py
Outdated
| "docx": "python-docx", | ||
| "docx.enum.text": "python-docx", | ||
| "docx.oxml.ns": "python-docx", | ||
| "docx.shared": "python-docx", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
建议只写 docx
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
收到
实现pdf解析得到的Json文件转成word和latex
实现pdf解析翻译得到的或者直接输入的md转成word和latex